<template>
  <div>
    正在查询，请稍后！！！
  </div>
</template>

<script>
import co from 'co'
let search = function * (self) {
  let state = yield self.$post('rs/sql/phone', {data: {f_period: '最新'}})
  self.$goto('checker-state', {state: state.date})
}
export default {
  title: '安检员状态',
  data () {
    return {
      model: {
      }
    }
  },
  methods: {
    getstate () {
      let gen = search(this)
      return co(gen)
    }
  },
  ready () {
    this.getstate()
  },
  components: {}
}
</script>
